package pack0630_2;

public class AnimalDemo {
    public static void main(String[] args) {
        AnimalOperator ao = new AnimalOperator();
        Animal a = new Cat();
        ao.useAnimal(a);

        Animal aa = ao.getAnimal();
        aa.eat();
    }
}
